import request from '@/utils/request'

// 查询巡检报告
export function listReportData(query) {
  return request({
    url: '/robot/patrol/report/list',
    method: 'get',
    params: query
  })
}
// 删除报告信息
export function delReport(Delparams) {
  return request({
    url: '/robot/patrol/report/' + Delparams,
    method: 'delete'
  })
}
//单条巡检报告信息
export function getReport(id) {
  return request({
    url: '/patrol/report/'+ id,
    method: 'get'
  })
}
// export function getVidelUrl(params) {
//   return request({
//     url: '/patrol/report/videoUrl/' + params,
//     method: 'get'
//   })
// }


//单条巡检报告信息
// export function viewBeforeVideo(resId) {
//   return request({
//     url: '/patrol/report/viewBeforeVideo/'+ resId,
//     method: 'get'
//   })
// }




